package com.feiyuan.movie.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.feiyuan.common.utils.PageUtils;
import com.feiyuan.common.utils.Query;

import com.feiyuan.movie.dao.MovieJiListDao;
import com.feiyuan.movie.entity.MovieJiListEntity;
import com.feiyuan.movie.service.MovieJiListService;


@Service("movieJiListService")
public class MovieJiListServiceImpl extends ServiceImpl<MovieJiListDao, MovieJiListEntity> implements MovieJiListService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MovieJiListEntity> page = this.page(
                new Query<MovieJiListEntity>().getPage(params),
                new QueryWrapper<MovieJiListEntity>()
        );

        return new PageUtils(page);
    }

}